package edu.njfu.sas.dao;

import edu.njfu.sas.model.Student;

import java.sql.SQLException;
import java.util.List;

/**
 * @Classname StudentDao
 * @Description 对student进行增,删,改,查
 * @Date 2020/10/12 2:56 下午
 * @Created by lqj(1724226325@qq.com)
 */
public interface StudentDao {
    List<Student> getAllStudent() throws SQLException;
    List<Student> getStudentsByName(String name);
    boolean saveStudent(Student s);
    public Student getStudentByNo(String stuno);
    List<Student> getStudentByPaging(int currentPage, int pageSize);
    long totalRecords();

}
